import java.util.Scanner;
public class schoolwork {
    public static void main(String[] arge)
    {
        String a;
        String b;
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入第一个字符串");
         Scanner scanner = new Scanner(System.in);
         a=scanner.next();
        System.out.println("请输入第二个字符串");
         b=scanner.next();
         if(a==b)
         {
             System.out.println("a!=b");
         }
         else
         {
             System.out.println("a!=b");
         }

    }
}
